/*
 * @Author       : shenqing
 * @desc         : 项目配置信息
 * @Date         : 2020-07-01 10:51:43
 * @LastEditTime : 2022-10-11 10:44:38
 * @LastEditors  : shenqing
 * @FilePath     : \questionnaire\src\store\modules\serverConfig.js
 */
const serverConfig = {
    state: {
        RestUrl:''
    },
    mutations: {
        SET_SERVERCONFIG: (state, obj) => {
            state = Object.assign(state, obj)
        }
    },
    actions: {
        setServerConfig ({
            commit
        }, obj) {
            commit('SET_SERVERCONFIG', obj)
        }
    }
}

export default serverConfig
